// 三、基于下面提供的代码，完成后续的四个练习
// 练习 1 : 使 用 fp.add (x, y) 和 fp.map (f, x)创建一个能让 functor 里的值增加的函数ex1
const fp = require('lodash/fp')
const { Maybe, Container } = require('./support')
let maybe = Maybe.of([5, 6, 1])
let exl = maybe.map(x => fp.map(fp.add(1), x))
console.log(exl)